<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>canfd: xcanfd_selftest.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">canfd
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xcanfd__selftest_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xcanfd_selftest.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga7b689d14c47ec2af170f1fdbd3fd547a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga7b689d14c47ec2af170f1fdbd3fd547a">XCANFD_MAX_FRAME_SIZE_IN_BYTES</a>&#160;&#160;&#160;72</td></tr>
<tr class="memdesc:ga7b689d14c47ec2af170f1fdbd3fd547a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum Frame size.  <a href="group__canfd.html#ga7b689d14c47ec2af170f1fdbd3fd547a">More...</a><br/></td></tr>
<tr class="separator:ga7b689d14c47ec2af170f1fdbd3fd547a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8402ffb273c0d8a8e72f2a845d96b269"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga8402ffb273c0d8a8e72f2a845d96b269">TEST_MESSAGE_ID</a>&#160;&#160;&#160;1024</td></tr>
<tr class="memdesc:ga8402ffb273c0d8a8e72f2a845d96b269"><td class="mdescLeft">&#160;</td><td class="mdescRight">Message id.  <a href="group__canfd.html#ga8402ffb273c0d8a8e72f2a845d96b269">More...</a><br/></td></tr>
<tr class="separator:ga8402ffb273c0d8a8e72f2a845d96b269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb1bcd1838bd92a866794184116a4bbf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#gadb1bcd1838bd92a866794184116a4bbf">TEST_CANFD_DLC</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:gadb1bcd1838bd92a866794184116a4bbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">DLC Value.  <a href="group__canfd.html#gadb1bcd1838bd92a866794184116a4bbf">More...</a><br/></td></tr>
<tr class="separator:gadb1bcd1838bd92a866794184116a4bbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71ec86ad20d81329ef69e8572d9bc452"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga71ec86ad20d81329ef69e8572d9bc452">TEST_MAIL_BOX_MASK</a>&#160;&#160;&#160;0xFFFFFFFFU</td></tr>
<tr class="memdesc:ga71ec86ad20d81329ef69e8572d9bc452"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mailbox Fileter Index Value.  <a href="group__canfd.html#ga71ec86ad20d81329ef69e8572d9bc452">More...</a><br/></td></tr>
<tr class="separator:ga71ec86ad20d81329ef69e8572d9bc452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40b93f102dc8a0ae0f87092bc96087f1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga40b93f102dc8a0ae0f87092bc96087f1">TEST_BRPR_BAUD_PRESCALAR</a>&#160;&#160;&#160;29</td></tr>
<tr class="memdesc:ga40b93f102dc8a0ae0f87092bc96087f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Baud Rate Prescalar.  <a href="group__canfd.html#ga40b93f102dc8a0ae0f87092bc96087f1">More...</a><br/></td></tr>
<tr class="separator:ga40b93f102dc8a0ae0f87092bc96087f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2f0504cb1cf0584ff8d7532b91d17f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#gaa2f0504cb1cf0584ff8d7532b91d17f3">TEST_BTR_SYNCJUMPWIDTH</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:gaa2f0504cb1cf0584ff8d7532b91d17f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronization Jump Width.  <a href="group__canfd.html#gaa2f0504cb1cf0584ff8d7532b91d17f3">More...</a><br/></td></tr>
<tr class="separator:gaa2f0504cb1cf0584ff8d7532b91d17f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga963822e22ff13542adf1ca249fb11e1e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga963822e22ff13542adf1ca249fb11e1e">TEST_BTR_SECOND_TIMESEGMENT</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:ga963822e22ff13542adf1ca249fb11e1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Segment 2.  <a href="group__canfd.html#ga963822e22ff13542adf1ca249fb11e1e">More...</a><br/></td></tr>
<tr class="separator:ga963822e22ff13542adf1ca249fb11e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga413d190032b595cee3eaad35f5ff0f95"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga413d190032b595cee3eaad35f5ff0f95">TEST_BTR_FIRST_TIMESEGMENT</a>&#160;&#160;&#160;15</td></tr>
<tr class="memdesc:ga413d190032b595cee3eaad35f5ff0f95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Segment 1.  <a href="group__canfd.html#ga413d190032b595cee3eaad35f5ff0f95">More...</a><br/></td></tr>
<tr class="separator:ga413d190032b595cee3eaad35f5ff0f95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga474988275e3a9563fd011d79425deb90"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga474988275e3a9563fd011d79425deb90">TEST_FBRPR_BAUD_PRESCALAR</a>&#160;&#160;&#160;29</td></tr>
<tr class="memdesc:ga474988275e3a9563fd011d79425deb90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Baud Rate Prescalar for canfd.  <a href="group__canfd.html#ga474988275e3a9563fd011d79425deb90">More...</a><br/></td></tr>
<tr class="separator:ga474988275e3a9563fd011d79425deb90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5d1f49839781fd8c867b2ff25bf54705"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#ga5d1f49839781fd8c867b2ff25bf54705">TEST_FBTR_SYNCJUMPWIDTH</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:ga5d1f49839781fd8c867b2ff25bf54705"><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronization Jump Width for Canfd.  <a href="group__canfd.html#ga5d1f49839781fd8c867b2ff25bf54705">More...</a><br/></td></tr>
<tr class="separator:ga5d1f49839781fd8c867b2ff25bf54705"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadcd8382bc86aa05dd490d5ccdd3878c8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#gadcd8382bc86aa05dd490d5ccdd3878c8">TEST_FBTR_SECOND_TIMESEGMENT</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:gadcd8382bc86aa05dd490d5ccdd3878c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Segment 2 for Canfd.  <a href="group__canfd.html#gadcd8382bc86aa05dd490d5ccdd3878c8">More...</a><br/></td></tr>
<tr class="separator:gadcd8382bc86aa05dd490d5ccdd3878c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad96e9ba070cc4dd19846492c373ba0b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#gad96e9ba070cc4dd19846492c373ba0b9">TEST_FBTR_FIRST_TIMESEGMENT</a>&#160;&#160;&#160;15</td></tr>
<tr class="memdesc:gad96e9ba070cc4dd19846492c373ba0b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Segment 1 for Canfd.  <a href="group__canfd.html#gad96e9ba070cc4dd19846492c373ba0b9">More...</a><br/></td></tr>
<tr class="separator:gad96e9ba070cc4dd19846492c373ba0b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gad1bbb72c208cf3330dc27a32b2546999"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canfd.html#gad1bbb72c208cf3330dc27a32b2546999">XCanFd_SelfTest</a> (<a class="el" href="struct_x_can_fd.html">XCanFd</a> *InstancePtr)</td></tr>
<tr class="memdesc:gad1bbb72c208cf3330dc27a32b2546999"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function runs a self-test on the CAN driver/device.  <a href="group__canfd.html#gad1bbb72c208cf3330dc27a32b2546999">More...</a><br/></td></tr>
<tr class="separator:gad1bbb72c208cf3330dc27a32b2546999"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
